import { Schema,type } from '@colyseus/schema';

/**
 * 怪物状态
 */
export class Monster extends Schema {
    @type("string") id: string;
    @type("string") type: string; // 怪物类型
    @type("number") x: number = 0;
    @type("number") y: number = 0;
    @type("number") hp: number = 100;
}
